home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 October
/
EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso
/
Aminet
/
comm
/
mail
/
pine391base.lha
/
pine3.91
/
lpr.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-04-05
|
220b
|
18 lines
#include <stdio.h>
/* lpr for amiga */
int main() {
FILE *out;
char ch;
out = fopen("PRT:","w");
while (!feof(stdin)) {
ch=fgetc(stdin);
fputc(ch,out);
}
fputc('\f',out);
fclose(out);
}